package com.github.monkeywie.proxyee.intercept.common;

import com.github.monkeywie.proxyee.intercept.HttpProxyIntercept;
import com.github.monkeywie.proxyee.intercept.HttpProxyInterceptPipeline;
import com.github.monkeywie.proxyee.log.LogRecorder;
import com.github.monkeywie.proxyee.log.LogRecorderFactory;
import io.netty.channel.Channel;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.HttpResponse;


public class HeaderIntercept extends HttpProxyIntercept {
    private final static LogRecorder logRecorder= LogRecorderFactory.getRecorder(LogIntercept.class);

    public void beforeRequest(Channel clientChannel, HttpRequest httpRequest, HttpProxyInterceptPipeline pipeline) throws Exception {
        super.beforeRequest(clientChannel,httpRequest,pipeline);
    }


    public void afterResponse(Channel clientChannel, Channel proxyChannel, HttpResponse httpResponse, HttpProxyInterceptPipeline pipeline) throws Exception {
        super.afterResponse(clientChannel,proxyChannel,httpResponse,pipeline);
    }



}
